import torch

t4d = torch.empty(3,3,4,2)
p1d = (1,1)
out = torch.nn.functional.pad(t4d, p1d)
